package net.cachedb4j.service.impl;

import net.cachedb4j.domain.User;
import net.cachedb4j.service.DataSourceService;
import net.cachedb4j.service.CacheDBService;

public class DataSourceServiceImpl implements DataSourceService {
	
	private CacheDBService cacheDBService;
	
	public void setCacheService(CacheDBService cacheService) {
		this.cacheDBService = cacheService;
	}

	public void addUser(User user) {
//		cacheDBService.store(User.class, user);
	}

	public User getUserByUserName(String username) {
//		return cacheDBService.query(User.class, username);
		return null;
	}

}
